import Sidebar from './containers/sidebar';
import Header from './containers/header';
import { Layers } from 'comps/common';
import * as React from 'react';

const ConsoleApp = ({ title, children }) => {
  return (
    <div className='console'>
      <Header />
      <Sidebar />
      <div className='content'>
        <Layers title={title}>
          {children}
        </Layers>
      </div>
    </div>
  );
};

export default ConsoleApp;
